INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(${WORKINGPATH}/OpenSceneGraph/include)
INCLUDE_DIRECTORIES(${WORKINGPATH}/OpenSceneGraph/build/include)
LINK_DIRECTORIES(${WORKINGPATH}/OpenSceneGraph/build/lib)

SET(LIB_NAME OCOsg2CesiumApp)

SET(TARGET_H
)

SET(TARGET_SRC
	main.cpp
)

SETUP_GROUP()

SET(TARGET_COMMON_LIBRARIES 
    OCMain
    OCesium
    OCOsg2Cesium
    OCOpenGL
    osg
    osgDB
    osgUtil
    OpenThreads
)


SET(TARGET_EXTERNAL_LIBRARIES 
)

SETUP_APPLICATION(${LIB_NAME})

ADD_DEPENDENCIES(${LIB_NAME} OCesium)
ADD_DEPENDENCIES(${LIB_NAME} OCOsg2Cesium)
ADD_DEPENDENCIES(${LIB_NAME} OCMain)

if (MSVC)
  set_property(TARGET ${LIB_NAME} PROPERTY VS_DEBUGGER_WORKING_DIRECTORY ${OUTPUT_BINDIR})
endif()